package com.survey.service;


import com.survey.pojo.vo.JJOption;
import com.survey.pojo.vo.ResultVO;
import com.survey.pojo.vo.StatisData;
import com.survey.pojo.vo.StatisticsData;
import com.survey.utils.Result;

import java.util.List;

/**
 * <br/>
 * Created by survey on 2018/08/04
 */
public interface ResultService {

	Result addResult(ResultVO resultVO) throws Exception;

	Result updateResult(ResultVO resultVO) throws Exception;
	
	Result findDetailResult(ResultVO resultVO) throws Exception;
	
	Result listResult(ResultVO resultVO) throws Exception;

    Result listResultPage(ResultVO resultVO) throws Exception;
	
	Result countResult(ResultVO resultVO) throws Exception;
	
	Result deleteResult(ResultVO resultVO) throws Exception;

    StatisticsData getStatisticsData(Integer eid);

	//根据试卷id获得题目信息
	List<JJOption> getQuestionInfo(Integer sid);
}